<?php
/*===============微信商城=================*/
/*----------------------------------------*/
/* $Author: 疯中追风                      */
/*----------------------------------------*/
/* $Time: 2017/11/1 16:06                 */
/*----------------------------------------*/
/*==============个人中心表================*/
namespace Home\Controller;
use  Think\Controller;
class PersonalController  extends Controller{

	public function personal(){

		//查询购物车的订单
		$result = M('Cart') -> where(array("user_id" => cookie('id'),"is_order" => 1)) -> select();

		$this -> assign('name',cookie('name'));
		$this -> assign('imageUrl',cookie('imageUrl'));
		$this -> assign("result",$result);
		$this -> display();
	}
}